package com.mhc.suzuki.bo;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by HW
 * on 2017/9/1 11:48.
 * 打款确认页对应BO
 */
@Data
public class PaymentDetailBO implements Serializable {

    private static final long serialVersionUID = 152067385247083850L;

    /**
     * 自增主键，请款单ID
     */
    private Long paymentRequestId;

    /**
     * 业务员ID
     * pcl_payment_request.staff_id
     */
    private Long staffId;

    /**
     * 业务员名称
     * pcl_payment_request.staff_name
     */
    private String staffName;

    /**
     * 业务员所属部门ID
     * pcl_payment_request.dept_id
     */
    private Long deptId;

    /**
     * 业务员所属部门名称
     * pcl_payment_request.dept_name
     */
    private String deptName;

    /**
     * 记录创建日期, 即申请时间
     * pcl_payment_request.gmt_create
     */
    @SuppressWarnings("squid:S3437")
    private LocalDateTime gmtCreate;

    /**
     * 收款方账号名称，如经销商名称
     * pcl_payment_request.payee_account_name
     */
    private String payeeAccountName;

    /**
     * 收款方开户银行ID
     * pcl_payment_request.payee_bank_id
     */
    private Long payeeBankId;

    /**
     * 收款方开户银行名称
     * pcl_payment_request.payee_bank_name
     */
    private String payeeBankName;

    /**
     * 收款方银行卡号
     * pcl_payment_request.payee_bank_card
     */
    private String payeeBankCard;

    /**
     * 支付方式，如网银
     * pcl_payment_request.payment_way
     */
    private Integer paymentWay;

    /**
     * 垫资金额
     * pcl_payment_request.loaning_amount
     */
    private java.math.BigDecimal loaningAmount;
    /**
     * 贷款用途
     * pcl_payment_request.loan_useage
     */
    private String loanUseage;

    /**
     * 贷款银行ID，对应数据字典中数据ID
     * pcl_order.loan_bank_id
     */
    private Long loanBankId;

    /**
     * 冗余字段，贷款银行名称
     * pcl_order.loan_bank_name
     */
    private String loanBankName;

    /**
     * 自增主键，客户记录编号
     * pcl_customer.customer_id
     */
    private Long customerId;

    /**
     * 客户姓名
     * pcl_customer.customer_name
     */
    private String customerName;

    private String idCard;

    private Long loanInfoId;

    /**
     * 贷款期限

     * pcl_loan_info.period
     */
    private Integer period;

    /**
     * 品牌车型
     * pcl_car_info.car_model
     */
    private String carModel;

    /**
     * GPS编号
     * pcl_car_info.gps_num
     */
    private String gpsNum;

    /**
     * gps安装位置
     * pcl_car_info.gps_set_location
     */
    private String gpsSetLocation;

    /**
     * GPS厂商
     * pcl_car_info.gps_factory
     */
    private String gpsFactory;


    /**
     * 订单编号
     * pcl_payment_request.order_no
     */
    private String orderNo;


    /**
     * 打款确认员工
     */
    private Long handleStaffId;


    private String annexBatchNo;

    private Integer bizChannel;

    /**
     * 垫资日期
     */
    @SuppressWarnings("squid:S3437")
    private LocalDateTime loaningDate;


}
